<%@ page import="meow.Status" %>
<mw:profile username="${username}"/>
<ul class="sidebar_menu">
  <li><g:link controller="${username}" action="friends">お気に入り</g:link></li>
  <li><g:link controller="${username}" action="followers">お気に入られ</g:link></li>
  <li><g:link controller="${username}">つぶやき（<span id="stat_count">${Status.totalCount(username)}</span>）</g:link></li>
  <g:isLoggedIn>
    <li><g:link controller="replies">@${username}</g:link></li>
  </g:isLoggedIn>
  <li><g:link controller="public_timeline">公開つぶやき</g:link></li>

  <g:render template="friends" model="[username:username]"/>
</ul>
